revXMLRPC_GetProtocol
Type
function
Summary
This function returns the protocol of an XML-RPC document.
Syntax
revXMLRPC_GetProtocol(<XMLRPCdocumentID>)
Description
Use the revXMLRPC_GetProtocol function to retrieve the network protocol used in the execution of an XML-RPC request.
If the revXMLRPC_GetProtocol function encounters an error, it returns an error message starting with "xmlrpcerr" ..
Parameters
Name | Type | Description |
---|---|---|
XMLRPCdocumentID | integer | The number returned by the revXMLRPC_CreateRequest when you created the XML-RPC request, or the successful revXMLRPC_Execute function when you executed an XML-RPC request. |
Examples
local tProtocol
put revXMLRPC_GetProtocol(tRequest) into tProtocol
Related
function: revXMLRPC_CreateRequest, revXMLRPC_Execute
glossary: Standalone Application Settings, host, standalone application, return, function, XML-RPC, LiveCode custom library
library: XML-RPC library
command: revXMLRPC_SetProtocol
control structure: function
Compatibility and Support
Introduced
LiveCode 2.5
OS
mac
windows
linux
ios
android
Platforms
desktop
server
mobile